cc.Class({
    extends: cc.Component,

    properties: {
    },
    editor: {
        menu: 'ExtendUI/TouchMask'
    },
    
    // use this for initialization
    onLoad: function () {
        this.node.on("touchstart", this.onTouchEvent);
        // this.node.on("touchmove", this.onTouchEvent);
        this.node.on("touchend", this.onTouchEvent);
        // this.node.on("touchcancel", this.onTouchEvent);
    },
    
    onTouchEvent: function(event) {
        event.stopPropagation();
    }
});